package com.lcj.crawler;

import com.geccocrawler.gecco.annotation.Href;
import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;

public class CompanyRecruit implements HtmlBean {

    @Text
    @HtmlField(cssPath = "div.hot_pos_r2  div.mb10 > a")
    private String companyName;

    @Text
    @HtmlField(cssPath = "div.hot_pos_l2  div.mb10 > a")
    private String recruitName;

    @Text
    @HtmlField(cssPath = "div.hot_pos_l2  div.mb10 > span:last-child")
    private String recruitDate;

    @Text
    @HtmlField(cssPath = "div.hot_pos_l2 > div:eq(1) > span:eq(0)")
    private String salary;

    @Text
    @HtmlField(cssPath = "div.hot_pos_l2 > div:eq(1) > span:eq(1)")
    private String lowerEdu;

    @Text
    @HtmlField(cssPath = "div.hot_pos_l2 > div:nth-of-type(2) > span:nth-of-type(3)")
    private String welfare;

    @Text
    @HtmlField(cssPath = "div.hot_pos_r2 > div:eq(2) > span:eq(0)")
    private String industryName;

    @Text
    @HtmlField(cssPath = "div.hot_pos_r2 > div:eq(2) > span:eq(1)")
    private String persons;

    @Text
    @HtmlField(cssPath = "div.hot_pos_r2 > div:nth-of-type(3) > span:nth-of-type(3)")
    private String workPlace;

    @Href
    @HtmlField(cssPath = "div.hot_pos_l2 a")
    private String recruitUrl;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getRecruitName() {
        return recruitName;
    }

    public void setRecruitName(String recruitName) {
        this.recruitName = recruitName;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getLowerEdu() {
        return lowerEdu;
    }

    public void setLowerEdu(String lowerEdu) {
        this.lowerEdu = lowerEdu;
    }

    public String getWelfare() {
        return welfare;
    }

    public void setWelfare(String welfare) {
        this.welfare = welfare;
    }

    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    public String getPersons() {
        return persons;
    }

    public void setPersons(String persons) {
        this.persons = persons;
    }

    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace;
    }

    public String getRecruitUrl() {
        return recruitUrl;
    }

    public void setRecruitUrl(String recruitUrl) {
        this.recruitUrl = recruitUrl;
    }

    public String getRecruitDate() { return recruitDate; }

    public void setRecruitDate(String recruitDate) { this.recruitDate = recruitDate; }
}
